package com.yonyou.gmmc.service.points.model;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;

@Table(name = "TM_COUPON_INFO")
public class TmCouponInfo {
    @Column(name = "BATCH_ID")
    private String batchId;

    @Column(name = "BC_ID")
    private Short bcId;

    @Column(name = "TC_ID")
    private Integer tcId;

    @Column(name = "BATCH_NAME")
    private String batchName;

    @Column(name = "TICKET_TYPE")
    private Integer ticketType;

    @Column(name = "GRANT_TYPE")
    private Short grantType;

    @Column(name = "USER_TYPE")
    private Short userType;

    @Column(name = "VALID_CRE_START")
    private Date validCreStart;

    @Column(name = "VALID_CRE_END")
    private Date validCreEnd;

    @Column(name = "IS_AREA")
    private Short isArea;

    @Column(name = "SA_CODE")
    private String saCode;

    @Column(name = "SIX")
    private String six;

    @Column(name = "MARRIAGE")
    private String marriage;

    @Column(name = "VALID_BIR_START")
    private Date validBirStart;

    @Column(name = "VALID_BIR_END")
    private Date validBirEnd;

    @Column(name = "AGE")
    private String age;

    @Column(name = "SERIES_CODE")
    private String seriesCode;

    @Column(name = "YEAR_CODE")
    private String yearCode;

    @Column(name = "MODEL_CODE")
    private String modelCode;

    @Column(name = "ENGINE_CODE")
    private String engineCode;

    @Column(name = "VIN1")
    private String vin1;

    @Column(name = "VIN2")
    private String vin2;

    @Column(name = "VIN3")
    private String vin3;

    @Column(name = "VALID_S_C_START")
    private Date validSCStart;

    @Column(name = "VALID_S_C_END")
    private Date validSCEnd;

    @Column(name = "VALID_SALE_START")
    private Date validSaleStart;

    @Column(name = "VALID_SALE_END")
    private Date validSaleEnd;

    @Column(name = "VALID_J_C_START")
    private Date validJCStart;

    @Column(name = "VALID_J_C_END")
    private Date validJCEnd;

    @Column(name = "VALID_INS_START")
    private Date validInsStart;

    @Column(name = "VALID_INS_END")
    private Date validInsEnd;

    @Column(name = "VALID_COM_START")
    private Date validComStart;

    @Column(name = "VALID_COM_END")
    private Date validComEnd;

    @Column(name = "VALID_FREE_START")
    private Date validFreeStart;

    @Column(name = "VALID_FREE_END")
    private Date validFreeEnd;

    @Column(name = "VALID_BACK_START")
    private Date validBackStart;

    @Column(name = "VALID_BACK_END")
    private Date validBackEnd;

    @Column(name = "MILEAGE_START")
    private BigDecimal mileageStart;

    @Column(name = "MILEAGE_END")
    private BigDecimal mileageEnd;

    @Column(name = "VALID_DATE_START")
    private Date validDateStart;

    @Column(name = "VALID_DATE_END")
    private Date validDateEnd;

    @Column(name = "COST")
    private Long cost;

    @Column(name = "COUNT_DISCOUNT")
    private Integer countDiscount;

    @Column(name = "AMOUNT")
    private Long amount;

    @Column(name = "DISCOUNT")
    private BigDecimal discount;

    @Column(name = "EXCHANGE_METHOD")
    private String exchangeMethod;

    @Column(name = "PUSHFLG")
    private String pushflg;

    @Column(name = "PUSH_MSG")
    private String pushMsg;

    @Column(name = "COPYRIGHT")
    private String copyright;

    @Column(name = "USAGE")
    private String usage;

    @Column(name = "CREATE_DATE")
    private Date createDate;

    @Column(name = "CREATE_BY")
    private Integer createBy;

    @Column(name = "UPDATE_DATE")
    private Date updateDate;

    @Column(name = "UPDATE_BY")
    private Integer updateBy;

    @Column(name = "DEALER_CODE")
    private String dealerCode;

    @Column(name = "STATUS")
    private Integer status;
    
    @Column(name = "PART_NUM")
    private String partNum;

    /**
     * @return BATCH_ID
     */
    public String getBatchId() {
        return batchId;
    }

    /**
     * @param batchId
     */
    public void setBatchId(String batchId) {
        this.batchId = batchId;
    }

    /**
     * @return BC_ID
     */
    public Short getBcId() {
        return bcId;
    }

    /**
     * @param bcId
     */
    public void setBcId(Short bcId) {
        this.bcId = bcId;
    }

    /**
     * @return TC_ID
     */
    public Integer getTcId() {
        return tcId;
    }

    /**
     * @param tcId
     */
    public void setTcId(Integer tcId) {
        this.tcId = tcId;
    }

    /**
     * @return BATCH_NAME
     */
    public String getBatchName() {
        return batchName;
    }

    /**
     * @param batchName
     */
    public void setBatchName(String batchName) {
        this.batchName = batchName;
    }

    /**
     * @return TICKET_TYPE
     */
    public Integer getTicketType() {
        return ticketType;
    }

    /**
     * @param ticketType
     */
    public void setTicketType(Integer ticketType) {
        this.ticketType = ticketType;
    }

    /**
     * @return GRANT_TYPE
     */
    public Short getGrantType() {
        return grantType;
    }

    /**
     * @param grantType
     */
    public void setGrantType(Short grantType) {
        this.grantType = grantType;
    }

    /**
     * @return USER_TYPE
     */
    public Short getUserType() {
        return userType;
    }

    /**
     * @param userType
     */
    public void setUserType(Short userType) {
        this.userType = userType;
    }

    /**
     * @return VALID_CRE_START
     */
    public Date getValidCreStart() {
        return validCreStart;
    }

    /**
     * @param validCreStart
     */
    public void setValidCreStart(Date validCreStart) {
        this.validCreStart = validCreStart;
    }

    /**
     * @return VALID_CRE_END
     */
    public Date getValidCreEnd() {
        return validCreEnd;
    }

    /**
     * @param validCreEnd
     */
    public void setValidCreEnd(Date validCreEnd) {
        this.validCreEnd = validCreEnd;
    }

    /**
     * @return IS_AREA
     */
    public Short getIsArea() {
        return isArea;
    }

    /**
     * @param isArea
     */
    public void setIsArea(Short isArea) {
        this.isArea = isArea;
    }

    /**
     * @return SA_CODE
     */
    public String getSaCode() {
        return saCode;
    }

    /**
     * @param saCode
     */
    public void setSaCode(String saCode) {
        this.saCode = saCode;
    }

    /**
     * @return SIX
     */
    public String getSix() {
        return six;
    }

    /**
     * @param six
     */
    public void setSix(String six) {
        this.six = six;
    }

    /**
     * @return MARRIAGE
     */
    public String getMarriage() {
        return marriage;
    }

    /**
     * @param marriage
     */
    public void setMarriage(String marriage) {
        this.marriage = marriage;
    }

    /**
     * @return VALID_BIR_START
     */
    public Date getValidBirStart() {
        return validBirStart;
    }

    /**
     * @param validBirStart
     */
    public void setValidBirStart(Date validBirStart) {
        this.validBirStart = validBirStart;
    }

    /**
     * @return VALID_BIR_END
     */
    public Date getValidBirEnd() {
        return validBirEnd;
    }

    /**
     * @param validBirEnd
     */
    public void setValidBirEnd(Date validBirEnd) {
        this.validBirEnd = validBirEnd;
    }

    /**
     * @return AGE
     */
    public String getAge() {
        return age;
    }

    /**
     * @param age
     */
    public void setAge(String age) {
        this.age = age;
    }

    /**
     * @return SERIES_CODE
     */
    public String getSeriesCode() {
        return seriesCode;
    }

    /**
     * @param seriesCode
     */
    public void setSeriesCode(String seriesCode) {
        this.seriesCode = seriesCode;
    }

    /**
     * @return YEAR_CODE
     */
    public String getYearCode() {
        return yearCode;
    }

    /**
     * @param yearCode
     */
    public void setYearCode(String yearCode) {
        this.yearCode = yearCode;
    }

    /**
     * @return MODEL_CODE
     */
    public String getModelCode() {
        return modelCode;
    }

    /**
     * @param modelCode
     */
    public void setModelCode(String modelCode) {
        this.modelCode = modelCode;
    }

    /**
     * @return ENGINE_CODE
     */
    public String getEngineCode() {
        return engineCode;
    }

    /**
     * @param engineCode
     */
    public void setEngineCode(String engineCode) {
        this.engineCode = engineCode;
    }

    /**
     * @return VIN1
     */
    public String getVin1() {
        return vin1;
    }

    /**
     * @param vin1
     */
    public void setVin1(String vin1) {
        this.vin1 = vin1;
    }

    /**
     * @return VIN2
     */
    public String getVin2() {
        return vin2;
    }

    /**
     * @param vin2
     */
    public void setVin2(String vin2) {
        this.vin2 = vin2;
    }

    /**
     * @return VIN3
     */
    public String getVin3() {
        return vin3;
    }

    /**
     * @param vin3
     */
    public void setVin3(String vin3) {
        this.vin3 = vin3;
    }

    /**
     * @return VALID_S_C_START
     */
    public Date getValidSCStart() {
        return validSCStart;
    }

    /**
     * @param validSCStart
     */
    public void setValidSCStart(Date validSCStart) {
        this.validSCStart = validSCStart;
    }

    /**
     * @return VALID_S_C_END
     */
    public Date getValidSCEnd() {
        return validSCEnd;
    }

    /**
     * @param validSCEnd
     */
    public void setValidSCEnd(Date validSCEnd) {
        this.validSCEnd = validSCEnd;
    }

    /**
     * @return VALID_SALE_START
     */
    public Date getValidSaleStart() {
        return validSaleStart;
    }

    /**
     * @param validSaleStart
     */
    public void setValidSaleStart(Date validSaleStart) {
        this.validSaleStart = validSaleStart;
    }

    /**
     * @return VALID_SALE_END
     */
    public Date getValidSaleEnd() {
        return validSaleEnd;
    }

    /**
     * @param validSaleEnd
     */
    public void setValidSaleEnd(Date validSaleEnd) {
        this.validSaleEnd = validSaleEnd;
    }

    /**
     * @return VALID_J_C_START
     */
    public Date getValidJCStart() {
        return validJCStart;
    }

    /**
     * @param validJCStart
     */
    public void setValidJCStart(Date validJCStart) {
        this.validJCStart = validJCStart;
    }

    /**
     * @return VALID_J_C_END
     */
    public Date getValidJCEnd() {
        return validJCEnd;
    }

    /**
     * @param validJCEnd
     */
    public void setValidJCEnd(Date validJCEnd) {
        this.validJCEnd = validJCEnd;
    }

    /**
     * @return VALID_INS_START
     */
    public Date getValidInsStart() {
        return validInsStart;
    }

    /**
     * @param validInsStart
     */
    public void setValidInsStart(Date validInsStart) {
        this.validInsStart = validInsStart;
    }

    /**
     * @return VALID_INS_END
     */
    public Date getValidInsEnd() {
        return validInsEnd;
    }

    /**
     * @param validInsEnd
     */
    public void setValidInsEnd(Date validInsEnd) {
        this.validInsEnd = validInsEnd;
    }

    /**
     * @return VALID_COM_START
     */
    public Date getValidComStart() {
        return validComStart;
    }

    /**
     * @param validComStart
     */
    public void setValidComStart(Date validComStart) {
        this.validComStart = validComStart;
    }

    /**
     * @return VALID_COM_END
     */
    public Date getValidComEnd() {
        return validComEnd;
    }

    /**
     * @param validComEnd
     */
    public void setValidComEnd(Date validComEnd) {
        this.validComEnd = validComEnd;
    }

    /**
     * @return VALID_FREE_START
     */
    public Date getValidFreeStart() {
        return validFreeStart;
    }

    /**
     * @param validFreeStart
     */
    public void setValidFreeStart(Date validFreeStart) {
        this.validFreeStart = validFreeStart;
    }

    /**
     * @return VALID_FREE_END
     */
    public Date getValidFreeEnd() {
        return validFreeEnd;
    }

    /**
     * @param validFreeEnd
     */
    public void setValidFreeEnd(Date validFreeEnd) {
        this.validFreeEnd = validFreeEnd;
    }

    /**
     * @return VALID_BACK_START
     */
    public Date getValidBackStart() {
        return validBackStart;
    }

    /**
     * @param validBackStart
     */
    public void setValidBackStart(Date validBackStart) {
        this.validBackStart = validBackStart;
    }

    /**
     * @return VALID_BACK_END
     */
    public Date getValidBackEnd() {
        return validBackEnd;
    }

    /**
     * @param validBackEnd
     */
    public void setValidBackEnd(Date validBackEnd) {
        this.validBackEnd = validBackEnd;
    }

    /**
     * @return MILEAGE_START
     */
    public BigDecimal getMileageStart() {
        return mileageStart;
    }

    /**
     * @param mileageStart
     */
    public void setMileageStart(BigDecimal mileageStart) {
        this.mileageStart = mileageStart;
    }

    /**
     * @return MILEAGE_END
     */
    public BigDecimal getMileageEnd() {
        return mileageEnd;
    }

    /**
     * @param mileageEnd
     */
    public void setMileageEnd(BigDecimal mileageEnd) {
        this.mileageEnd = mileageEnd;
    }

    /**
     * @return VALID_DATE_START
     */
    public Date getValidDateStart() {
        return validDateStart;
    }

    /**
     * @param validDateStart
     */
    public void setValidDateStart(Date validDateStart) {
        this.validDateStart = validDateStart;
    }

    /**
     * @return VALID_DATE_END
     */
    public Date getValidDateEnd() {
        return validDateEnd;
    }

    /**
     * @param validDateEnd
     */
    public void setValidDateEnd(Date validDateEnd) {
        this.validDateEnd = validDateEnd;
    }

    /**
     * @return COST
     */
    public Long getCost() {
        return cost;
    }

    /**
     * @param cost
     */
    public void setCost(Long cost) {
        this.cost = cost;
    }

    /**
     * @return COUNT_DISCOUNT
     */
    public Integer getCountDiscount() {
        return countDiscount;
    }

    /**
     * @param countDiscount
     */
    public void setCountDiscount(Integer countDiscount) {
        this.countDiscount = countDiscount;
    }

    /**
     * @return AMOUNT
     */
    public Long getAmount() {
        return amount;
    }

    /**
     * @param amount
     */
    public void setAmount(Long amount) {
        this.amount = amount;
    }

    /**
     * @return DISCOUNT
     */
    public BigDecimal getDiscount() {
        return discount;
    }

    /**
     * @param discount
     */
    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    /**
     * @return EXCHANGE_METHOD
     */
    public String getExchangeMethod() {
        return exchangeMethod;
    }

    /**
     * @param exchangeMethod
     */
    public void setExchangeMethod(String exchangeMethod) {
        this.exchangeMethod = exchangeMethod;
    }

    /**
     * @return PUSHFLG
     */
    public String getPushflg() {
        return pushflg;
    }

    /**
     * @param pushflg
     */
    public void setPushflg(String pushflg) {
        this.pushflg = pushflg;
    }

    /**
     * @return PUSH_MSG
     */
    public String getPushMsg() {
        return pushMsg;
    }

    /**
     * @param pushMsg
     */
    public void setPushMsg(String pushMsg) {
        this.pushMsg = pushMsg;
    }

    /**
     * @return COPYRIGHT
     */
    public String getCopyright() {
        return copyright;
    }

    /**
     * @param copyright
     */
    public void setCopyright(String copyright) {
        this.copyright = copyright;
    }

    /**
     * @return USAGE
     */
    public String getUsage() {
        return usage;
    }

    /**
     * @param usage
     */
    public void setUsage(String usage) {
        this.usage = usage;
    }

    /**
     * @return CREATE_DATE
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * @param createDate
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * @return CREATE_BY
     */
    public Integer getCreateBy() {
        return createBy;
    }

    /**
     * @param createBy
     */
    public void setCreateBy(Integer createBy) {
        this.createBy = createBy;
    }

    /**
     * @return UPDATE_DATE
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    /**
     * @param updateDate
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    /**
     * @return UPDATE_BY
     */
    public Integer getUpdateBy() {
        return updateBy;
    }

    /**
     * @param updateBy
     */
    public void setUpdateBy(Integer updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * @return DEALER_CODE
     */
    public String getDealerCode() {
        return dealerCode;
    }

    /**
     * @param dealerCode
     */
    public void setDealerCode(String dealerCode) {
        this.dealerCode = dealerCode;
    }

    /**
     * @return STATUS
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * @param status
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    
    /**
     * @return the partNum
     */
    public String getPartNum() {
        return partNum;
    }

    
    /**
     * @param partNum the partNum to set
     */
    public void setPartNum(String partNum) {
        this.partNum = partNum;
    }
    
}